package com.record.mapper;



import com.record.dto.FormulaIngredientDto;
import com.record.entity.Formula;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FormulaMapper {

    Formula selectFormulaWithIngredients(@Param("name") String formulaName);

    List<FormulaIngredientDto> selectByIngredient(String ingredientName);
}
